<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl.html">impl</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message.html">message</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message_1_1modifier.html">modifier</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message_1_1modifier_1_1text.html">text</a></li><li class="navelem"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.png" usemap="#syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier_map" alt=""/>
  <map id="syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier_map" name="syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier_map">
<area href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html" alt="syslog4cj.common.SyslogMessageModifierIF" shape="rect" coords="0,0,418,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aba31edf0debf2c75e8623228255f7955"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#aba31edf0debf2c75e8623228255f7955">modify</a> (<a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogIF.html">SyslogIF</a> syslog, Int64 facility, Int64 level, String message):String</td></tr>
<tr class="separator:aba31edf0debf2c75e8623228255f7955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b7c84286c92ba94e3fed9bb0436b599"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#a2b7c84286c92ba94e3fed9bb0436b599">verify</a> (String message):Bool</td></tr>
<tr class="separator:a2b7c84286c92ba94e3fed9bb0436b599"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f65d76f12bd3b028d7fefb6d1b9a111"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a8f65d76f12bd3b028d7fefb6d1b9a111">modify</a> (<a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogIF.html">SyslogIF</a> syslog, Int64 facility, Int64 level, String message):String</td></tr>
<tr class="separator:a8f65d76f12bd3b028d7fefb6d1b9a111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a581a1f2aee3c0fbd34270775e1aab851"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a581a1f2aee3c0fbd34270775e1aab851">verify</a> (String message):Bool</td></tr>
<tr class="separator:a581a1f2aee3c0fbd34270775e1aab851"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a992cf3eb80bb2938a1436e5d21331d9c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#a992cf3eb80bb2938a1436e5d21331d9c">static let LOWER_CASE</a> : UInt8 = 0</td></tr>
<tr class="separator:a992cf3eb80bb2938a1436e5d21331d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ac606b425cf14dc62aaefa7263fbe53"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#a1ac606b425cf14dc62aaefa7263fbe53">static let UPPER_CASE</a> : UInt8 = 1</td></tr>
<tr class="separator:a1ac606b425cf14dc62aaefa7263fbe53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23914cdf71cc0e5b1d9ae5b814793e40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#a23914cdf71cc0e5b1d9ae5b814793e40">static let LOWER</a> :<a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a> = <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a>(LOWER_CASE)</td></tr>
<tr class="separator:a23914cdf71cc0e5b1d9ae5b814793e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e2ad7706c8a20b81b8f26159229180"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#ae2e2ad7706c8a20b81b8f26159229180">static let UPPER</a> :<a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a> = <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a>(UPPER_CASE)</td></tr>
<tr class="separator:ae2e2ad7706c8a20b81b8f26159229180"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a8a6d74950c1ffa7026b38115c25feff7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html#a8a6d74950c1ffa7026b38115c25feff7">var stringCase</a> = LOWER_CASE</td></tr>
<tr class="separator:a8a6d74950c1ffa7026b38115c25feff7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>字符串大小写转换日志修饰器<br  />
 将日志消息统一转换为全大写或全小写格式， 仅支持 ASCII 字符集的大小写转换。 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aba31edf0debf2c75e8623228255f7955" name="aba31edf0debf2c75e8623228255f7955"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba31edf0debf2c75e8623228255f7955">&#9670;&#160;</a></span>modify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.modify </td>
          <td>(</td>
          <td class="paramname"><em>syslog</em>:&#160;</td>
          <td class="paramtype">SyslogIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>facility</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>level</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建指定模式的修饰器</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">stringCase</td><td>转换模式（LOWER_CASE 或 UPPER_CASE） </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">SyslogRuntimeException</td><td>无效模式值时抛出</td></tr>
  </table>
  </dd>
</dl>
<p>修改日志消息：转换大小写</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">syslog</td><td>Syslog实例 </td></tr>
    <tr><td class="paramname">facility</td><td>设施类型 </td></tr>
    <tr><td class="paramname">level</td><td>日志级别 </td></tr>
    <tr><td class="paramname">message</td><td>原始日志消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>转换大小写后的消息</dd></dl>
<dl class="section note"><dt>Note</dt><dd>仅处理非空消息，空消息直接返回 </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a8f65d76f12bd3b028d7fefb6d1b9a111">syslog4cj.common.SyslogMessageModifierIF</a>.</p>

</div>
</div>
<a id="a2b7c84286c92ba94e3fed9bb0436b599" name="a2b7c84286c92ba94e3fed9bb0436b599"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b7c84286c92ba94e3fed9bb0436b599">&#9670;&#160;</a></span>verify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.verify </td>
          <td>(</td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>消息验证（始终通过）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>待验证消息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>总是返回 true </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageModifierIF.html#a581a1f2aee3c0fbd34270775e1aab851">syslog4cj.common.SyslogMessageModifierIF</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a23914cdf71cc0e5b1d9ae5b814793e40" name="a23914cdf71cc0e5b1d9ae5b814793e40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23914cdf71cc0e5b1d9ae5b814793e40">&#9670;&#160;</a></span>static let LOWER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.static let LOWER :<a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a> = <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a>(LOWER_CASE)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>预定义的小写转换修饰器实例 </p>

</div>
</div>
<a id="a992cf3eb80bb2938a1436e5d21331d9c" name="a992cf3eb80bb2938a1436e5d21331d9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a992cf3eb80bb2938a1436e5d21331d9c">&#9670;&#160;</a></span>static let LOWER_CASE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.static let LOWER_CASE : UInt8 = 0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>小写转换模式标识 </p>

</div>
</div>
<a id="ae2e2ad7706c8a20b81b8f26159229180" name="ae2e2ad7706c8a20b81b8f26159229180"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2e2ad7706c8a20b81b8f26159229180">&#9670;&#160;</a></span>static let UPPER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.static let UPPER :<a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a> = <a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1modifier_1_1text_1_1StringCaseSyslogMessageModifier.html">StringCaseSyslogMessageModifier</a>(UPPER_CASE)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>预定义的大写转换修饰器实例 </p>

</div>
</div>
<a id="a1ac606b425cf14dc62aaefa7263fbe53" name="a1ac606b425cf14dc62aaefa7263fbe53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ac606b425cf14dc62aaefa7263fbe53">&#9670;&#160;</a></span>static let UPPER_CASE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.static let UPPER_CASE : UInt8 = 1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>大写转换模式标识 </p>

</div>
</div>
<a id="a8a6d74950c1ffa7026b38115c25feff7" name="a8a6d74950c1ffa7026b38115c25feff7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a6d74950c1ffa7026b38115c25feff7">&#9670;&#160;</a></span>var stringCase</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.modifier.text.StringCaseSyslogMessageModifier.var stringCase = LOWER_CASE</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>当前大小写转换模式 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/impl/message/modifier/text/<a class="el" href="string__case__syslog__message__modifier_8cj.html">string_case_syslog_message_modifier.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
